N3squik
05/25/2026, 7:37 AM019e50a7-8028-7000-a200-3dee116f0fb7
Two questions for an outbound call using 11labs voice, eleven_flash_v2_5, with chunkPlan.formatPlan.enabled: true (plus regex replacements that turn 8 9 0 0 into 8, 9, 0, 0).
1. Is there any way to see the exact text Vapi sends to ElevenLabs after formatPlan runs? The call-log export contains completionText (LLM output) and the Deepgram readback, but no event carries the formatted TTS input to ElevenLabs — Bot started speaking and pipeline.sayQueuePush both have no text field. Without seeing the post-format string, I can't tell whether my replacements are working as expected.
2. How do you recommend fixing these two mispronunciations?
* The first of the two trailing zeros in a phone number like +1 617-423-8900 is audibly under-articulated (does not sound like a zero), even though Deepgram transcribes it correctly as 8 9 0 0. Comma-separation via formatPlan.replacements doesn't fix it (supposedly, but cant check if it applies due to issue #1.
* Address abbreviations like St are pronounced as "Saint" instead of "Street".
The same source text pasted into the ElevenLabs web playground (same model) pronounces both correctly. How can I make it behave just like on the ElevenLabs web playground?Shaunak
05/25/2026, 8:54 AMShaunak
05/25/2026, 8:54 AMShaunak
05/25/2026, 8:55 AMShaunak
05/25/2026, 8:55 AM{
"type": "regex",
"regex": "(\\d)(\\d)(\\d)(\\d)(?!\\d)",
"value": "$1, $2, $3, $4"
}
This turns 8900 into 8, 9, 0, 0 before it reaches ElevenLabs. The commas force the model to articulate each digit separately.Shaunak
05/25/2026, 8:55 AMShaunak
05/25/2026, 8:55 AMShaunak
05/25/2026, 8:55 AMShaunak
05/25/2026, 8:55 AM[
{ "type": "exact", "key": " St,", "value": " Street," },
{ "type": "exact", "key": " St.", "value": " Street." },
{ "type": "exact", "key": " St ", "value": " Street " }
]
The leading space in each key prevents accidentally replacing "St" inside words like "Stock" or "Start."Shaunak
05/25/2026, 8:55 AMN3squik
05/26/2026, 7:25 AMvoice.chunkPlan.formatPlan with phoneNumber which is supposedly enabled by default. So the way I understand; 1. LLM generates raw text. 2. voice.chunkPlan.formatPlan formats phone numbers to separate single digits. 3. My regex replacements are applied that adds "," between single spaced digits. Can you please tell me if that is the case or not?
FYI it would be extremely useful if we could view post-format plan without having to just guess.Shaunak
05/27/2026, 1:58 PMShaunak
05/27/2026, 1:58 PMShaunak
05/27/2026, 1:58 PMShaunak
05/27/2026, 1:58 PMN3squik
05/28/2026, 7:42 AMenableSsmlParsing option but I dont want to manually (or let AI use its context) to insert these break tags. Are the docs out of date or is it not available for ElevenLabs voice?Shaunak
05/28/2026, 2:59 PMphoneNumberDigitPauseSeconds is deprecated for ElevenLabs and hidden from the docs, which is why you're not seeing it. It was removed because it can cause hallucinations with ElevenLabs models.Shaunak
05/28/2026, 2:59 PMenableSsmlParsing and use formatPlan.replacements to insert SSML breaks:Shaunak
05/28/2026, 2:59 PMjson
{
"provider": "11labs",
"voiceId": "your-voice-id",
"enableSsmlParsing": true,
"chunkPlan": {
"formatPlan": {
"replacements": [
{
"type": "regex",
"regex": "(\\d) (\\d) (\\d) (\\d)",
"value": "$1 $2 $3 $4 <break time=\"0.5s\" />"
}
]
}
}
}Shaunak
05/28/2026, 2:59 PM6 1 7 4 2 3 8 9 0 0), you just need the replacement to insert <break> tags where you want pauses between digit groups. Adjust the regex pattern to match your preferred grouping.
The key is enableSsmlParsing: true without it, ElevenLabs will speak the tags literally instead of processing them.Shaunak
05/28/2026, 2:59 PMenableSsmlParsing: true without it, ElevenLabs will speak the tags literally instead of processing them.Shaunak
05/28/2026, 2:59 PMenableSsmlParsing: true without it, ElevenLabs will speak the tags literally instead of processing them.N3squik
05/29/2026, 8:01 AM019e72bb-3c4f-7444-93b3-c9b4f68c1584), so I will revert to what I had originally. Thanks for trying though.Shaunak
05/29/2026, 8:20 AMShaunak
05/29/2026, 8:20 AM